package com.fang.web;

import org.springframework.web.filter.CorsFilter;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2020/12/17 17:15
 */
public class WebMvc implements WebMvcConfigurer {


    @Override
    public void addCorsMappings(CorsRegistry registry) {
        //System.getProperty();
        String s = "abc";
        System.out.println();
    }

    CorsFilter corsFilter;
}
